class AddManyToManyRoutesEvents < ActiveRecord::Migration
  def self.up
    create_table :events_routes, :id => false do |t|
      t.integer :route_id
      t.integer :event_id
    end

    #add_index :routes_workers, :route_id
    #add_index :routes_workers, :worker_id
  end

  def self.down
    drop_table :events_routes
  end
end
